package com.slipper.system.api.schedule.service;

import com.slipper.common.annotation.FeignRequestMapping;
import com.slipper.common.bo.Result;
import com.slipper.system.api.schedule.bo.ScheduleLogBO;
import com.slipper.common.feign.ServiceClient;

import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * 任务调度日志
 * 
 * @date 2020-03-28 17:10:06
 */
@ServiceClient
public interface IScheduleLogSv {
    @FeignRequestMapping("/scheduleLog/queryBy")
    Result<ScheduleLogBO> queryBy(@RequestBody ScheduleLogBO bo);
    
    @FeignRequestMapping("/scheduleLog/queryPage")
    Result<List<ScheduleLogBO>> queryPage(@RequestBody ScheduleLogBO bo);
    
    @FeignRequestMapping("/scheduleLog/save")
    Result<ScheduleLogBO> save(@RequestBody ScheduleLogBO bo);
    
    @FeignRequestMapping("/scheduleLog/delete")
    Result<?> delete(@RequestBody ScheduleLogBO bo);

    @FeignRequestMapping("/scheduleLog/isRunning")
    Result<Boolean> isRunning(@RequestBody ScheduleLogBO bo);
}
